﻿using System.Diagnostics;
using System.Linq;
using HarmonyLib;

namespace TheWorldOfKongfuEasyMod;

[HarmonyPatch(typeof(GameDataManager))]
[HarmonyPatch("LoadConfigOperate")]
public class Patch_GameDataManager_LoadConfigOperate
{
    static void Postfix(ref GameDataManager __instance, string _configDataFile)
    {
        if (Main.Setting._001isEAPlayer.Value)
            __instance.configdata.isEAPlayer = true;
    }
}